<?php 
namespace app\common\model;
class Affiche extends Common{
	protected $insert = ['addtime'=>SYS_TIME];
	protected function getAddtimeAttr($value){
		return date("Y-m-d H:i", $value);
	}
	protected function getUpdatetimeAttr($value){
		return $value ? date('Y-m-d H:i', $value) : '未更新';
	}
}